package ai.yue.open.service.cd.ipo;

import ai.yue.library.base.ipo.ValidationGroups;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 工作负载
 *
 * @author yl-yue
 * @since  2023/2/7
 */
@Data
public class WorkloadIPO {

    private static final long serialVersionUID = 1L;

    @NotNull(groups = {ValidationGroups.Update.class})
    private Long id;

    /**
     * 命名空间名
     */
    private String namespace;

    /**
     * 工作负载名
     */
    private String workloadName;

    /**
     * 是否重新部署
     */
    private Boolean isRedeploy;

    /**
     * 是否通知
     */
    private Boolean isNotify;

}
